package com.example.aotdemo;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Import;
import org.springframework.stereotype.Component;

@Import(UserServiceImportBeanDefinitionRegistrar.class)
@Component
public class UserService4 {
    @Autowired
    private UserService userService;

    public void read(){
       userService.read();
    }
}